package com.demo.sso.service.impl;

import com.demo.sso.dao.LoginUserMapper;
import com.demo.sso.enity.LoginUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Set;

/**
 * 请添加模块注释
 *
 * @author fengjy
 * @date 2018-10-29 20:49
 */

@Service
public class LoginUserServiceImpl implements com.demo.sso.service.LoginUserService {

    @Resource
    private LoginUserMapper loginUserMapper;

    @Override
    public Set<String> chkRoleName(String s) {

        return  loginUserMapper.chkRoleName(s);
    }

    @Override
    public Set<String> chkPermissions(String s) {
        return loginUserMapper.chkPermissions(s);
    }

    @Override
    public LoginUser chkByUserName(String s) {
        return loginUserMapper.chkByUserName(s);
    }
}
